<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>认识新朋友 - 友趣社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #4361ee;
            --primary-light: #7209b7;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #38b000;
            --danger: #e63946;
            --warning: #ffb703;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f7fa;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            padding: 0.8rem 1rem;
        }
        
        .navbar-brand {
            color: var(--primary);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.4rem;
        }
        
        .nav-link {
            color: var(--dark);
            font-weight: 500;
            margin: 0 5px;
            transition: var(--transition);
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }
        
        .connections-container {
            padding: 2rem 0;
        }
        
        .section-header {
            margin-bottom: 2rem;
        }
        
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .section-description {
            color: var(--gray);
            max-width: 800px;
        }
        
        /* 过滤器区域 */
        .filters {
            background-color: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
        
        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .filter-group {
            flex: 1;
            min-width: 200px;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 600;
            color: var(--dark);
        }
        
        .filter-select {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .filter-tag {
            background-color: var(--light);
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            padding: 6px 16px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .filter-tag:hover, .filter-tag.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .filter-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        /* 推荐标题 */
        .recommendation-heading {
            margin: 2.5rem 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .heading-title {
            font-size: 1.4rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .heading-title i {
            color: var(--primary);
        }
        
        .view-all {
            color: var(--primary);
            font-weight: 500;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .view-all:hover {
            color: var(--secondary);
            text-decoration: underline;
        }
        
        /* 卡片通用样式 */
        .connection-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
        }
        
        .connection-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .card-content {
            padding: 1.5rem;
        }
        
        .card-meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        .card-stats {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .card-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: var(--secondary);
            border-color: var(--secondary);
        }
        
        .btn-outline-primary {
            color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 布局1：网格卡片布局 */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .grid-card .card-header {
            height: 180px;
            position: relative;
            overflow: hidden;
        }
        
        .grid-card .card-images {
            width: 100%;
            height: 100%;
            display: flex;
        }
        
        .grid-card .card-image {
            flex: 1;
            height: 100%;
            object-fit: cover;
        }
        
        .grid-card .no-image {
            width: 100%;
            height: 100%;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-size: 3rem;
        }
        
        .grid-card .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            transition: var(--transition);
        }
        
        .grid-card .card-title:hover {
            color: var(--primary);
        }
        
        .grid-card .card-description {
            color: var(--gray);
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .grid-card .similarity {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
            background-color: rgba(56, 176, 0, 0.1);
            color: var(--success);
            margin-bottom: 1rem;
        }
        
        /* 布局2：列表布局 */
        .list-layout {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .list-card {
            display: flex;
        }
        
        .list-card .card-header {
            width: 220px;
            flex-shrink: 0;
            position: relative;
        }
        
        .list-card .card-images {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .list-card .card-image {
            flex: 1;
            width: 100%;
            object-fit: cover;
        }
        
        .list-card .no-image {
            width: 100%;
            height: 100%;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-size: 3rem;
        }
        
        .list-card .card-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .list-card .card-title {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            transition: var(--transition);
        }
        
        .list-card .card-title:hover {
            color: var(--primary);
        }
        
        .list-card .card-description {
            color: var(--gray);
            margin-bottom: 1rem;
            flex: 1;
        }
        
        .list-card .similarity {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
            background-color: rgba(56, 176, 0, 0.1);
            color: var(--success);
            margin-bottom: 1rem;
        }
        
        .list-card .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }
        
        /* 布局3：大型卡片布局 */
        .featured-layout {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .featured-card {
            display: flex;
        }
        
        .featured-card.reverse {
            flex-direction: row-reverse;
        }
        
        .featured-card .card-header {
            flex: 1;
            min-height: 300px;
            position: relative;
        }
        
        .featured-card .card-images {
            width: 100%;
            height: 100%;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 5px;
            padding: 5px;
            background-color: white;
        }
        
        .featured-card .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 6px;
        }
        
        .featured-card .no-image {
            width: 100%;
            height: 100%;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-size: 5rem;
        }
        
        .featured-card .card-content {
            flex: 1;
            padding: 2rem;
            display: flex;
            flex-direction: column;
        }
        
        .featured-card .card-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            transition: var(--transition);
        }
        
        .featured-card .card-title:hover {
            color: var(--primary);
        }
        
        .featured-card .card-description {
            color: var(--gray);
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.7;
        }
        
        .featured-card .similarity {
            display: inline-block;
            padding: 5px 14px;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 500;
            background-color: rgba(56, 176, 0, 0.1);
            color: var(--success);
            margin-bottom: 1.5rem;
        }
        
        .featured-card .common-interests {
            margin: 1.5rem 0;
        }
        
        .featured-card .interests-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
        }
        
        .featured-card .interests {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .featured-card .interest-tag {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .featured-card .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            padding-top: 1.5rem;
            border-top: 1px solid var(--light-gray);
        }
        
        /* 布局4：微型卡片布局 */
        .mini-layout {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }
        
        .mini-card .card-header {
            height: 120px;
            position: relative;
            overflow: hidden;
        }
        
        .mini-card .card-images {
            width: 100%;
            height: 100%;
            display: flex;
        }
        
        .mini-card .card-image {
            flex: 1;
            height: 100%;
            object-fit: cover;
        }
        
        .mini-card .no-image {
            width: 100%;
            height: 100%;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-size: 2rem;
        }
        
        .mini-card .card-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: var(--transition);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .mini-card .card-title:hover {
            color: var(--primary);
        }
        
        .mini-card .card-meta {
            margin-bottom: 0.75rem;
            font-size: 0.85rem;
        }
        
        .mini-card .card-stats {
            font-size: 0.85rem;
            gap: 0.75rem;
        }
        
        .mini-card .card-actions {
            margin-top: 0.75rem;
            flex-direction: column;
        }
        
        .mini-card .btn {
            width: 100%;
            padding: 5px;
            font-size: 0.85rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .featured-card, .featured-card.reverse {
                flex-direction: column;
            }
            
            .featured-card .card-header {
                min-height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .list-card {
                flex-direction: column;
            }
            
            .list-card .card-header {
                width: 100%;
                height: 200px;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
            
            .heading-title {
                font-size: 1.25rem;
            }
            
            .filter-row {
                gap: 1rem;
            }
            
            .filter-group {
                min-width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .card-content {
                padding: 1rem;
            }
            
            .card-actions {
                flex-direction: column;
            }
            
            .card-actions .btn {
                width: 100%;
            }
            
            .list-card .card-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .featured-card .card-content {
                padding: 1.5rem 1rem;
            }
            
            .featured-card .card-title {
                font-size: 1.5rem;
            }
            
            .featured-card .card-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }
        
        /* 页脚样式 */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 2rem;
            margin-top: 5rem;
        }
        
        .footer-col {
            margin-bottom: 2rem;
        }
        
        .footer-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--light-gray);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--light-gray);
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-users"></i>
                <span>友趣</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">认识新朋友</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">兴趣小组</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">活动中心</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">消息</a>
                    </li>
                </ul>
                
                <div class="d-flex align-items-center gap-3">
                    <div class="dropdown">
                        <button class="btn btn-secondary dropdown-toggle rounded-circle" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" width="36" height="36" class="rounded-circle">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人主页</a></li>
                            <li><a class="dropdown-item" href="#">我的好友</a></li>
                            <li><a class="dropdown-item" href="#">设置</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容 -->
    <div class="container connections-container">
        <!-- 页面标题 -->
        <div class="section-header">
            <h1 class="section-title">认识新朋友</h1>
            <p class="section-description">根据你的兴趣和社交网络，我们为你推荐了这些可能认识的人。发现志同道合的朋友，扩展你的社交圈！</p>
        </div>
        
        <!-- 过滤器 -->
        <div class="filters">
            <div class="filter-row">
                <div class="filter-group">
                    <label class="filter-label">推荐类型</label>
                    <select class="filter-select">
                        <option value="all" selected>全部推荐</option>
                        <option value="similar">兴趣相似</option>
                        <option value="friends">好友的好友</option>
                        <option value="location">附近的人</option>
                        <option value="groups">同小组成员</option>
                    </select>
                </div>
                
                <div class="filter-group">
                    <label class="filter-label">距离范围</label>
                    <select class="filter-select">
                        <option value="any" selected>不限距离</option>
                        <option value="1km">1公里内</option>
                        <option value="5km">5公里内</option>
                        <option value="10km">10公里内</option>
                        <option value="50km">50公里内</option>
                    </select>
                </div>
                
                <div class="filter-group">
                    <label class="filter-label">排序方式</label>
                    <select class="filter-select">
                        <option value="match" selected>匹配度优先</option>
                        <option value="recent">最近活跃</option>
                        <option value="popular">人气优先</option>
                        <option value="distance">距离最近</option>
                    </select>
                </div>
            </div>
            
            <div class="filter-row">
                <div class="filter-group">
                    <label class="filter-label">兴趣标签</label>
                    <div class="filter-tags">
                        <div class="filter-tag active">
                            <i class="fas fa-music"></i> 音乐
                        </div>
                        <div class="filter-tag">
                            <i class="fas fa-book"></i> 阅读
                        </div>
                        <div class="filter-tag">
                            <i class="fas fa-film"></i> 电影
                        </div>
                        <div class="filter-tag">
                            <i class="fas fa-hiking"></i> 户外
                        </div>
                        <div class="filter-tag">
                            <i class="fas fa-utensils"></i> 美食
                        </div>
                        <div class="filter-tag">
                            <i class="fas fa-paint-brush"></i> 艺术
                        </div>
                        <div class="filter-tag">
                            <i class="fas fa-gamepad"></i> 游戏
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="filter-actions">
                <button class="btn btn-light">重置筛选</button>
                <button class="btn btn-primary">应用筛选</button>
            </div>
        </div>
        
        <!-- 推荐类型1：基于兴趣的推荐 -->
        <div class="recommendation-heading">
            <h2 class="heading-title">
                <i class="fas fa-compass"></i> 兴趣相似的人
            </h2>
            <a href="#" class="view-all">查看全部</a>
        </div>
        
        <!-- 布局1：网格卡片布局 -->
        <div class="grid-layout">
            <!-- 带多张图片的卡片 -->
            <div class="connection-card grid-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1035/300/300" alt="音乐活动照片" class="card-image">
                        <img src="https://picsum.photos/id/1039/300/300" alt="音乐设备照片" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1012/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>李明</span>
                        <span>·</span>
                        <span>音乐制作人</span>
                    </div>
                    
                    <span class="similarity">87% 兴趣相似</span>
                    
                    <h3 class="card-title">独立音乐创作与制作交流</h3>
                    
                    <p class="card-description">专注于独立音乐创作，擅长吉他和钢琴编曲，正在寻找志同道合的音乐伙伴一起创作和演出。</p>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>1.2k</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-comment"></i>
                            <span>86</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>245</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-bookmark"></i>
                            <span>32</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加为好友
                        </button>
                        <button class="btn btn-outline-primary">
                            <i class="fas fa-comment"></i> 发消息
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的卡片 -->
            <div class="connection-card grid-card">
                <div class="card-header">
                    <div class="no-image">
                        <i class="fas fa-music"></i>
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1027/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>张小艺</span>
                        <span>·</span>
                        <span>声乐教师</span>
                    </div>
                    
                    <span class="similarity">82% 兴趣相似</span>
                    
                    <h3 class="card-title">古典音乐爱好者社群</h3>
                    
                    <p class="card-description">专业声乐教师，擅长歌剧和古典音乐演唱，希望认识更多古典音乐爱好者，定期组织小型音乐分享会。</p>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>956</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-comment"></i>
                            <span>54</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>187</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-bookmark"></i>
                            <span>26</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加为好友
                        </button>
                        <button class="btn btn-outline-primary">
                            <i class="fas fa-comment"></i> 发消息
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 带单张图片的卡片 -->
            <div class="connection-card grid-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1073/300/300" alt="黑胶唱片收藏" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1074/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>王乐队</span>
                        <span>·</span>
                        <span>黑胶唱片收藏家</span>
                    </div>
                    
                    <span class="similarity">79% 兴趣相似</span>
                    
                    <h3 class="card-title">黑胶唱片收藏与交流</h3>
                    
                    <p class="card-description">黑胶唱片收藏爱好者，收藏有超过500张经典摇滚和爵士乐黑胶，定期举办黑胶唱片交换活动。</p>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>1.5k</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-comment"></i>
                            <span>103</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>312</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-bookmark"></i>
                            <span>47</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加为好友
                        </button>
                        <button class="btn btn-outline-primary">
                            <i class="fas fa-comment"></i> 发消息
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 推荐类型2：好友的好友 -->
        <div class="recommendation-heading">
            <h2 class="heading-title">
                <i class="fas fa-handshake"></i> 好友的好友
            </h2>
            <a href="#" class="view-all">查看全部</a>
        </div>
        
        <!-- 布局2：列表布局 -->
        <div class="list-layout">
            <!-- 带多张图片的卡片 -->
            <div class="connection-card list-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1059/300/400" alt="音乐节照片" class="card-image">
                        <img src="https://picsum.photos/id/1062/300/400" alt="DJ演出照片" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1062/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>刘DJ</span>
                        <span>·</span>
                        <span>电子音乐制作人</span>
                        <span>·</span>
                        <span>通过 王乐队 认识</span>
                    </div>
                    
                    <span class="similarity">76% 兴趣相似</span>
                    
                    <h3 class="card-title">电子音乐制作与现场演出交流</h3>
                    
                    <p class="card-description">专业电子音乐制作人和DJ，擅长House、Techno等风格，拥有多年俱乐部驻场经验。经常组织电子音乐制作工作坊，欢迎对电子音乐感兴趣的朋友交流学习。目前正在筹备一张新EP，寻找有兴趣的 vocal 合作。</p>
                    
                    <div class="card-footer">
                        <div class="card-stats">
                            <div class="stat-item">
                                <i class="fas fa-eye"></i>
                                <span>2.3k</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-comment"></i>
                                <span>156</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-heart"></i>
                                <span>428</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-bookmark"></i>
                                <span>63</span>
                            </div>
                        </div>
                        
                        <div class="card-actions">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus"></i> 加为好友
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="fas fa-comment"></i> 发消息
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的卡片 -->
            <div class="connection-card list-card">
                <div class="card-header">
                    <div class="no-image">
                        <i class="fas fa-guitar"></i>
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1025/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>陈吉他</span>
                        <span>·</span>
                        <span>吉他教师</span>
                        <span>·</span>
                        <span>通过 李明 认识</span>
                    </div>
                    
                    <span class="similarity">71% 兴趣相似</span>
                    
                    <h3 class="card-title">吉他技巧分享与交流</h3>
                    
                    <p class="card-description">专业吉他教师，擅长民谣、摇滚吉他演奏，有10年教学经验。出版过《吉他入门到精通》教程，目前在多家音乐学校任教。定期举办线上吉他教学直播，欢迎吉他爱好者加入交流。提供一对一吉他教学服务，线上线下均可。</p>
                    
                    <div class="card-footer">
                        <div class="card-stats">
                            <div class="stat-item">
                                <i class="fas fa-eye"></i>
                                <span>1.8k</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-comment"></i>
                                <span>124</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-heart"></i>
                                <span>356</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-bookmark"></i>
                                <span>52</span>
                            </div>
                        </div>
                        
                        <div class="card-actions">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus"></i> 加为好友
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="fas fa-comment"></i> 发消息
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 推荐类型3：热门推荐 -->
        <div class="recommendation-heading">
            <h2 class="heading-title">
                <i class="fas fa-fire"></i> 热门推荐
            </h2>
            <a href="#" class="view-all">查看全部</a>
        </div>
        
        <!-- 布局3：大型卡片布局 -->
        <div class="featured-layout">
            <!-- 带多张图片的卡片 -->
            <div class="connection-card featured-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1082/300/300" alt="音乐工作室照片" class="card-image">
                        <img src="https://picsum.photos/id/1083/300/300" alt="录音设备照片" class="card-image">
                        <img src="https://picsum.photos/id/1079/300/300" alt="音乐会照片" class="card-image">
                        <img src="https://picsum.photos/id/1080/300/300" alt="音乐制作照片" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1066/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>赵音乐</span>
                        <span>·</span>
                        <span>音乐工作室创始人</span>
                    </div>
                    
                    <span class="similarity">89% 兴趣相似</span>
                    
                    <h3 class="card-title">专业音乐制作与录音服务</h3>
                    
                    <p class="card-description">拥有15年音乐行业经验，创办了"声动"音乐工作室，专注于独立音乐人的作品录制和制作。与多位知名歌手和乐队有过合作，擅长将艺术创意与技术实现完美结合。定期举办音乐行业交流活动，帮助新人音乐人成长。</p>
                    
                    <div class="common-interests">
                        <div class="interests-title">共同兴趣：</div>
                        <div class="interests">
                            <span class="interest-tag">音乐制作</span>
                            <span class="interest-tag">录音技术</span>
                            <span class="interest-tag">独立音乐</span>
                            <span class="interest-tag">音乐演出</span>
                        </div>
                    </div>
                    
                    <div class="card-footer">
                        <div class="card-stats">
                            <div class="stat-item">
                                <i class="fas fa-eye"></i>
                                <span>5.7k</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-comment"></i>
                                <span>328</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-heart"></i>
                                <span>1.2k</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-bookmark"></i>
                                <span>215</span>
                            </div>
                        </div>
                        
                        <div class="card-actions">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus"></i> 加为好友
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="fas fa-comment"></i> 发消息
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的卡片 -->
            <div class="connection-card featured-card reverse">
                <div class="card-header">
                    <div class="no-image">
                        <i class="fas fa-microphone-alt"></i>
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1062/40/40" alt="用户头像" width="30" height="30" class="rounded-circle">
                        <span>孙歌手</span>
                        <span>·</span>
                        <span>独立音乐人</span>
                    </div>
                    
                    <span class="similarity">84% 兴趣相似</span>
                    
                    <h3 class="card-title">独立民谣创作与分享</h3>
                    
                    <p class="card-description">创作型民谣歌手，发行过两张个人专辑，多次参加国内各大音乐节。歌词创作关注生活细节和社会观察，音乐风格清新自然。目前正在进行全国巡演，寻找各地livehouse合作机会。希望认识更多独立音乐人和音乐爱好者，交流创作心得和演出经验。</p>
                    
                    <div class="common-interests">
                        <div class="interests-title">共同兴趣：</div>
                        <div class="interests">
                            <span class="interest-tag">民谣音乐</span>
                            <span class="interest-tag">歌曲创作</span>
                            <span class="interest-tag">现场演出</span>
                            <span class="interest-tag">独立音乐</span>
                        </div>
                    </div>
                    
                    <div class="card-footer">
                        <div class="card-stats">
                            <div class="stat-item">
                                <i class="fas fa-eye"></i>
                                <span>4.2k</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-comment"></i>
                                <span>276</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-heart"></i>
                                <span>987</span>
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-bookmark"></i>
                                <span>168</span>
                            </div>
                        </div>
                        
                        <div class="card-actions">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus"></i> 加为好友
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="fas fa-comment"></i> 发消息
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 推荐类型4：附近的人 -->
        <div class="recommendation-heading">
            <h2 class="heading-title">
                <i class="fas fa-map-marker-alt"></i> 附近的音乐爱好者
            </h2>
            <a href="#" class="view-all">查看全部</a>
        </div>
        
        <!-- 布局4：微型卡片布局 -->
        <div class="mini-layout">
            <!-- 带单张图片的卡片 -->
            <div class="connection-card mini-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1060/300/300" alt="钢琴照片" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1077/40/40" alt="用户头像" width="24" height="24" class="rounded-circle">
                        <span>林钢琴</span>
                        <span>·</span>
                        <span>1.2km</span>
                    </div>
                    
                    <h3 class="card-title">钢琴教学与交流</h3>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>756</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>143</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加好友
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的卡片 -->
            <div class="connection-card mini-card">
                <div class="card-header">
                    <div class="no-image">
                        <i class="fas fa-drums"></i>
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1084/40/40" alt="用户头像" width="24" height="24" class="rounded-circle">
                        <span>吴鼓手</span>
                        <span>·</span>
                        <span>2.5km</span>
                    </div>
                    
                    <h3 class="card-title">鼓手找乐队合作</h3>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>623</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>98</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加好友
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的卡片 -->
            <div class="connection-card mini-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1058/300/300" alt="音乐书籍照片" class="card-image">
                        <img src="https://picsum.photos/id/1070/300/300" alt="音乐会门票照片" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1071/40/40" alt="用户头像" width="24" height="24" class="rounded-circle">
                        <span>郑音乐迷</span>
                        <span>·</span>
                        <span>3.7km</span>
                    </div>
                    
                    <h3 class="card-title">音乐爱好者交流群</h3>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>1.1k</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>215</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加好友
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 带单张图片的卡片 -->
            <div class="connection-card mini-card">
                <div class="card-header">
                    <div class="card-images">
                        <img src="https://picsum.photos/id/1081/300/300" alt="唱片机照片" class="card-image">
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1085/40/40" alt="用户头像" width="24" height="24" class="rounded-circle">
                        <span>钱音响</span>
                        <span>·</span>
                        <span>4.3km</span>
                    </div>
                    
                    <h3 class="card-title">音响设备与音乐欣赏</h3>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>876</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>167</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加好友
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的卡片 -->
            <div class="connection-card mini-card">
                <div class="card-header">
                    <div class="no-image">
                        <i class="fas fa-music"></i>
                    </div>
                </div>
                <div class="card-content">
                    <div class="card-meta">
                        <img src="https://picsum.photos/id/1086/40/40" alt="用户头像" width="24" height="24" class="rounded-circle">
                        <span>周歌词</span>
                        <span>·</span>
                        <span>5.1km</span>
                    </div>
                    
                    <h3 class="card-title">歌词创作交流</h3>
                    
                    <div class="card-stats">
                        <div class="stat-item">
                            <i class="fas fa-eye"></i>
                            <span>543</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-heart"></i>
                            <span>89</span>
                        </div>
                    </div>
                    
                    <div class="card-actions">
                        <button class="btn btn-primary">
                            <i class="fas fa-user-plus"></i> 加好友
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="row">
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">友趣</h3>
                    <p>友趣是一个基于兴趣的社交平台，帮助你找到志同道合的朋友，一起分享快乐，探索世界。</p>
                </div>
                
                <div class="col-md-2 footer-col">
                    <h3 class="footer-title">平台功能</h3>
                    <ul class="footer-links">
                        <li><a href="#">交友推荐</a></li>
                        <li><a href="#">兴趣小组</a></li>
                        <li><a href="#">活动中心</a></li>
                        <li><a href="#">兴趣测试</a></li>
                        <li><a href="#">话题讨论</a></li>
                    </ul>
                </div>
                
                <div class="col-md-2 footer-col">
                    <h3 class="footer-title">关于我们</h3>
                    <ul class="footer-links">
                        <li><a href="#">平台介绍</a></li>
                        <li><a href="#">团队成员</a></li>
                        <li><a href="#">加入我们</a></li>
                        <li><a href="#">联系方式</a></li>
                        <li><a href="#">用户反馈</a></li>
                    </ul>
                </div>
                
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">联系我们</h3>
                    <ul class="footer-links">
                        <li><i class="fas fa-envelope me-2"></i> contact@youqu.com</li>
                        <li><i class="fas fa-phone me-2"></i> 400-123-4567</li>
                        <li><i class="fas fa-map-marker-alt me-2"></i> 北京市朝阳区创意园区A座501</li>
                    </ul>
                </div>
            </div>
            
            <div class="copyright">
                &copy; 2023 友趣社交平台 版权所有 | 京ICP备12345678号
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 筛选标签交互
        document.querySelectorAll('.filter-tag').forEach(tag => {
            tag.addEventListener('click', function() {
                this.classList.toggle('active');
            });
        });
        
        // 加为好友按钮交互
        document.querySelectorAll('.btn-primary').forEach(button => {
            if (button.innerHTML.includes('加为好友') || button.innerHTML.includes('加好友')) {
                button.addEventListener('click', function() {
                    const originalText = this.innerHTML;
                    this.innerHTML = '<i class="fas fa-check"></i> 请求已发送';
                    this.disabled = true;
                    this.classList.remove('btn-primary');
                    this.classList.add('btn-success');
                });
            }
        });
        
        // 模拟点赞功能
        document.querySelectorAll('.stat-item').forEach(stat => {
            if (stat.querySelector('.fas.fa-heart')) {
                stat.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    const countEl = this.querySelector('span');
                    let count = parseInt(countEl.textContent);
                    
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        icon.classList.add('text-danger');
                        countEl.textContent = (count + 1).toString();
                    } else {
                        icon.classList.remove('fas', 'text-danger');
                        icon.classList.add('far');
                        countEl.textContent = (count - 1).toString();
                    }
                });
            }
        });
    </script>
</body>
</html>
    
